package gui;

import java.awt.event.ActionEvent;
import java.beans.PropertyChangeListener;

import javax.swing.AbstractAction;
import javax.swing.Action;

import org.w3c.dom.views.AbstractView;

public class DecrementSpeedAction extends AbstractAction {

	private DrawPanel target;

	public DecrementSpeedAction(DrawPanel target) {
		super();
		this.target = target;
	}

	@Override
	public void actionPerformed(ActionEvent arg0) {
		this.target.slowerAnimation();
	}

}
